LassoScript Utility
Basics Browse Detail

[PDF_Read->SetPageRange]

Tag Link [PDF_Read->SetPageRange] Category PDF
Type Member Source Available Yes
Support Preferred Version 8.1
Change Unchanged Data Source Any
Output Type None Security None
Implementation LJAPI Sets Lasso 8.5, Lasso 8.0

Description

[PDF_Read->SetPageRange] sets the page range that will be saved into a new PDF document by the [PDF_Read->Save] tag. The tag requires one parameter which specifies the page range.

A basic page range is of the form 1-4. Multiple page ranges can be specified separated by commas as in 1-4,5-10. Prefixing a range with o or e will only include odd or even pages. The range e1-4 only selects the pages 2 and 4. Prefixing a range with ! specifies that the following range should not be included. The range 1-10,!2-9 will only include the pages 1 and 10.

Syntax

[Var; 'myPDF' = (File_Read: -File='myPDF.pdf')]
[$myPDF->(SetPageRange: '1-10,21-30')]
[$myPDF->(Save: -File='myNewPDf.pdf')]

Parameters

Required Parameters
Page Range The range of pages to include in the document whan saving it.

Examples

See the Lasso 8 Language Guide for examples of how to use this tag.

Related Tags

Category Tags

Substitution
[PDF_Barcode]
[PDF_Color]
[PDF_Doc]
[PDF_Font]
[PDF_Image]
[PDF_List]
[PDF_Table]
[PDF_Text]
Process
[PDF_Serve]
Member
[PDF_Barcode->GenerateChecksum]
[PDF_Barcode->GetBarHeight]
[PDF_Barcode->GetBarMultiplier]
[PDF_Barcode->GetBarWidth]
[PDF_Barcode->GetBaseline]
[PDF_Barcode->GetCode]
[PDF_Barcode->GetFont]
[PDF_Barcode->GetSize]
[PDF_Barcode->GetTextAlignment]
[PDF_Barcode->GetTextSize]
[PDF_Barcode->GetType]
[PDF_Barcode->SetBarHeight]
[PDF_Barcode->SetBarMultiplier]
[PDF_Barcode->SetBarWidth]
[PDF_Barcode->SetBaseline]
[PDF_Barcode->SetCode]
[PDF_Barcode->SetFont]
[PDF_Barcode->SetGenerateChecksum]
[PDF_Barcode->SetShowChecksum]
[PDF_Barcode->SetTextAlignment]
[PDF_Barcode->SetTextSize]
[PDF_Barcode->ShowChecksum]
[PDF_Barcode->ShowCode39StartStop]
[PDF_Barcode->ShowEANGuardBars]
[PDF_Doc->Add]
[PDF_Doc->AddBarcode]
[PDF_Doc->AddChapter]
[PDF_Doc->AddCheckBox]
[PDF_Doc->AddComboBox]
[PDF_Doc->AddHiddenField]
[PDF_Doc->AddImage]
[PDF_Doc->AddList]
[PDF_Doc->AddPage]
[PDF_Doc->AddParagraph]
[PDF_Doc->AddPasswordField]
[PDF_Doc->AddPhrase]
[PDF_Doc->AddRadioButton]
[PDF_Doc->AddRadioGroup]
[PDF_Doc->AddResetButton]
[PDF_Doc->AddSection]
[PDF_Doc->AddSelectList]
[PDF_Doc->AddSubmitButton]
[PDF_Doc->AddTable]
[PDF_Doc->AddText]
[PDF_Doc->AddTextArea]
[PDF_Doc->AddTextField]
[PDF_Doc->Arc]
[PDF_Doc->Circle]
[PDF_Doc->Close]
[PDF_Doc->ClosePath]
[PDF_Doc->CurveTo]
[PDF_Doc->DrawText]
[PDF_Doc->GetColor]
[PDF_Doc->GetFormat]
[PDF_Doc->GetHeaders]
[PDF_Doc->GetMargins]
[PDF_Doc->GetPageNumber]
[PDF_Doc->GetSize]
[PDF_Doc->InsertPage]
[PDF_Doc->Line]
[PDF_Doc->Rect]
[PDF_Doc->SetColor]
[PDF_Doc->SetFont]
[PDF_Doc->SetLineWidth]
[PDF_Doc->SetPageNumber]
[PDF_Font->GetColor]
[PDF_Font->GetEncoding]
[PDF_Font->GetFace]
[PDF_Font->GetFullFontName]
[PDF_Font->GetPSFontName]
[PDF_Font->GetSize]
[PDF_Font->GetSupportedEncodings]
[PDF_Font->IsTrueType]
[PDF_Font->SetColor]
[PDF_Font->SetEncoding]
[PDF_Font->SetFace]
[PDF_Font->SetSize]
[PDF_Font->SetUnderline]
[PDF_Font->TextWidth]
[PDF_List->Add]
[PDF_Table->Add]
[PDF_Table->GetAbsWidth]
[PDF_Table->GetAlignment]
[PDF_Table->GetBorderColor]
[PDF_Table->GetBorderWidth]
[PDF_Table->GetColumnCount]
[PDF_Table->GetPadding]
[PDF_Table->GetRowCount]
[PDF_Table->GetSpacing]
[PDF_Table->Insert]
[PDF_Table->Remove]
[PDF_Table->SetAlignment]
[PDF_Table->SetBorderColor]
[PDF_Table->SetBorderWidth]
[PDF_Table->SetPadding]
[PDF_Table->SetSpacing]
[PDF_Text->Add]